import Desktop from "@/components/Desktop";
import Notification from "@/components/main/Notification";
import VueRouter from "vue-router";
import Todo from "@/components/main/Todo";
import Task from "@/components/main/Task";
import Calendar from "@/components/main/Calendar";
import NotificationManagement from "@/components/main/NotificationManagement";
import AffairManagement from "@/components/main/AffairManagement";
import AffairHandle from "@/components/main/AffairHandle";

const routes = [
    { path: '/', component: Desktop },
    { path: '/main', component: Desktop },
    { path: '/main/notification', component: Notification },
    { path: '/main/todo', component: Todo },
    { path: '/main/task', component: Task },
    { path: '/main/calendar', component: Calendar },
    { path: '/main/notification/management', component: NotificationManagement },
    { path: '/main/affair', component: AffairManagement },
    { path: '/main/affair/management', component: AffairManagement },
    { path: '/main/affair/handle', component: AffairHandle },
];

const router = new VueRouter({ routes });

export default router;
